<div class="row">
	<div class="twelve columns">
		<h1>Login</h1>

		<?php
		$this->pageTitle = Yii::app()->name . ' - Login';
		CHtml::$afterRequiredLabel = '';

		$form = $this->beginWidget('CActiveForm', array(
			'errorMessageCssClass' => 'error',
			'htmlOptions' => array(
				'class' => 'nice'
			)
			));

		echo $form->labelEx($model, 'email');
		echo $form->textField($model, 'email', array(
			'class' => 'input-text',
			'placeholder' => 'Email',
			'maxlength' => 254,
			'required' => ''
		));
		echo $form->error($model, 'email');

		echo $form->labelEx($model, 'password');
		echo $form->passwordField($model, 'password', array(
			'class' => 'input-text',
			'placeholder' => 'Password',
			'required' => ''
		));
		echo $form->error($model, 'password');

		echo $form->checkBox($model, 'rememberMe', array(
			'class' => 'checkbox',
			'style' => 'display: inline'
		));
		echo $form->label($model, 'rememberMe', array(
			'style' => 'display: inline'
		));

		echo '<p>' . CHtml::submitButton('Login', array(
			'class' => 'nice blue radius button'
		)) . '</p>';

		$this->endWidget();
		?>
	</div>
</div>